@import '../../../core/index.less';

.orin-s-modelsdialog-root {
    padding: 0;
    margin: 0;
    .models-mask {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9;
        display: flex;
        align-items: center;
        justify-content: center;
        .models-wrapper {
            width: 800/@remScale;
            max-height: 600/@remScale;
            background: @white;
            border-radius: 4/@remScale;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            .radio-button {
                display: flex;
                width: 22/@remScale;
                height: 22/@remScale;
                border-radius: 50%;
                border: 1/@remScale solid #eeeeee;
                color: #eeeeee;
                margin-right: 12/@remScale;
                cursor: pointer;
                &:hover {
                    border-color: #cccccc;
                    color: #cccccc;
                }
                &.active {
                    border-color: @light-blue-color;
                    background: @light-blue-color;
                    color: @white;
                }
            }
            .models-header {
                .dialogHeaderClass();
            }
            .models-content {
                flex: 1;
                overflow-y: auto;
                padding: 20/@remScale;
                overflow-x: hidden;
                .scrollBarClass();
                .models-cover-info {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 20/@remScale;
                    .thumb-image-wrapper {
                        flex: 1;
                        margin-right: 20/@remScale;
                        height: 180/@remScale;
                        .upload-cover {
                            width: 100%;
                            height: 100%;
                            background: #F7FCFF;
                            color: @cancel-btn-color;
                            position: relative;
                            border: 1/@remScale solid @border-color;
                            .add-img-btn, .upload-btn {
                                position: absolute;
                                bottom: 17/@remScale;
                                left: 50%;
                                margin-left: -60/@remScale;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                background: @white;
                                box-shadow: 0 2/@remScale 6/@remScale 0 rgba(0, 0, 0, 0.2);
                                border-radius: 17/@remScale;
                                width: 120/@remScale;
                                height: 35/@remScale;
                                line-height: 35/@remScale;
                                cursor: pointer;
                                .icon {
                                    width: 10/@remScale;
                                    height: 10/@remScale;
                                    transform: rotate(-90deg);
                                    margin: 0 6/@remScale 0 0;
                                    color: #999;
                                }
                                p {
                                    font-size: 12/@remScale;
                                    color: @black-six;
                                }
                                input {
                                    position: absolute;
                                    top: 0;
                                    cursor: pointer;
                                    width: 100%;
                                    bottom: 0;
                                    left: 0;
                                    right: 0;
                                    opacity: 0;
                                    z-index: -1;
                                }
                            }
                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                position: absolute;
                            }
                        }
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
                .info-right {
                    //flex: 1;
                    //margin-left: 12/@remScale;
                    //display: flex;
                    //flex-direction: column;
                    //justify-content: space-between;
                    .info-text-wrapper {
                        display: flex;
                        margin-bottom: 20/@remScale;
                        .info-text-flex {
                            flex: 1;
                            display: flex;
                            align-items: center;
                            &.flex3 {
                                flex: 2;
                            }
                            .info-text-label {
                                flex: 0 0 70/@remScale;
                                text-align: right;
                                font-size: 14/@remScale;
                            }
                            .work-input {
                                flex: 1;
                                height: 40/@remScale;
                                margin-bottom: 0;
                                margin-left: 12/@remScale;
                            }
                        }
                    }
                    .type-list-wrapper {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        .type-item {
                            display: flex;
                            align-items: center;
                            font-size: 14/@remScale;
                            color: #202020;
                        }
                    }
                }

                .models-config {
                    align-items: center;
                    .models-config-div {
                        display: flex;
                        margin: 20/@remScale 0;
                        flex: 1;
                        align-items: center;
                        .config-text {
                            flex: 0 0 80/@remScale;
                            text-align: center;
                            font-size: 14/@remScale;
                        }
                        .work-input {
                            flex: 1;
                            height: 40/@remScale;
                            margin-bottom: 0;
                        }
                    }
                }
                .model-hidden-wrapper {
                    margin-bottom: 40/@remScale;
                    display: flex;
                    justify-content: center;
                    .type-item {
                        display: flex;
                        align-items: center;
                        font-size: 14/@remScale;
                        color: #202020;
                        margin-right: 40/@remScale;
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
                .button-wrapper {
                    text-align: center;
                    .button-confirm {
                        width: 100/@remScale;
                    }
                }
            }
        }
    }
}